import { legacy_createStore as createStore } from 'redux'


// 合并后的reducer
import reducer from './reducers'

// 创建store 传入合并后的reducer
const store = createStore(reducer)

export default store